import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { RouterProvider } from 'react-router-dom'
import App from './App.jsx'
import router from './router';
import { Provider } from 'react-redux'
// import "antd/dist/antd.css"
import '@nutui/nutui-react/dist/style.css'
import store from './store/index.jsx';
import './main.css'

import '../rem.js'
import './styles/reset.css'
import ErrorBoundary from './LH/ErrorBoundary.jsx';

createRoot(document.getElementById('root')).render(
  <ErrorBoundary>
    <StrictMode>
      <Provider store={store}>
        <RouterProvider router={router}></RouterProvider>
      </Provider>
    </StrictMode>
  </ErrorBoundary>
)
